package cn.uniquesoft.service.impl;

import cn.uniquesoft.mapper.MyBrowseMapper;
import cn.uniquesoft.service.IMyBrowseService;
import cn.uniquesoft.service.base.BaseServiceImpl;
import cn.uniquesoft.vo.MyBrowseVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyBrowseServiceImpl extends BaseServiceImpl<MyBrowseVO>implements IMyBrowseService{
	private MyBrowseMapper browseMapper;
	public MyBrowseServiceImpl(MyBrowseMapper browseMapper) {
		super();
		this.baseMapper=browseMapper;
		this.browseMapper = browseMapper;
	}


	@Override
	public List<MyBrowseVO> findListDown(MyBrowseVO item) {
		return this.browseMapper.findListDown(item);
	}

	@Override
	public List<MyBrowseVO> findListUp(MyBrowseVO item) {
		return this.browseMapper.findListUp(item);
	}

	@Override
	public List<MyBrowseVO> getItemsFirst(MyBrowseVO item) {
		return this.browseMapper.getItemsFirst(item);
	}

	@Override
	public List<MyBrowseVO> getItemsRepeat(MyBrowseVO item) {
		return this.browseMapper.getItemsRepeat(item);
	}
}
